﻿using System.ComponentModel.DataAnnotations;
using Inovout.Data.Domain;

namespace KuaJing.Portal.Cms.Domain
{
    public partial class Content : DataObject
    {
        public Content()
        {
        }

        [Select(SelectType.ComboTree, "Name")]
        public virtual Category Category { get; set; }
        [DataProperty("标题", DataType.Text, null, true, 2, 4)]
        [Unique("Title")]
        public virtual string Title { get; set; }
        public virtual string Body { get; set; }
    }
}
